package com.toidep.info;

import java.util.ArrayList;

import com.toidep.entities.ArticleEntity;

public class NewsDetailHolder {
	public static ArrayList<ArticleEntity> listNewInfo = new ArrayList<ArticleEntity>();
	public static int currentPosition = 0;

	public static ArrayList<ArticleEntity> getListNewDetail() {
		return listNewInfo;
	}

	public static void setListNewDetail(ArrayList<ArticleEntity> listNewDetail) {
		NewsDetailHolder.listNewInfo.clear();
		NewsDetailHolder.listNewInfo.addAll(listNewDetail);
	}

	public static int getCurrentPosition() {
		return currentPosition;
	}

	public static void setCurrentPosition(int currentPosition) {
		NewsDetailHolder.currentPosition = currentPosition;
	}
	
	
}
